﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using ClassLibrary.BLL;

namespace ClassLibrary.DAL
{
    public class DALLoaiSP
    {
        public static List<BLLLoaiSP> GetAll()
        {

            var sps = (from sp in DALCommon.NonDB.LoaiSPs
                       select
                 new BLLLoaiSP(sp.IDLoai,sp.MaLoai,sp.TenLoai));
            return sps.ToList<BLLLoaiSP>();
        }
    }
}
